package com.ruoyi.swTemp.swTemp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * sw模板对象 sw_temp
 * 
 * @author ruoyi
 * @date 2025-04-11
 */
public class SwTemp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** sw模板分类 */
    private Long tempCategoryId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 模型 */
    private String temp;

    /** 相关图片 */
    private String img;

    /** 相关文档 */
    private String document;

    /** 状态 */
    @Excel(name = "状态")
    private String statue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTempCategoryId(Long tempCategoryId) 
    {
        this.tempCategoryId = tempCategoryId;
    }

    public Long getTempCategoryId() 
    {
        return tempCategoryId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setTemp(String temp) 
    {
        this.temp = temp;
    }

    public String getTemp() 
    {
        return temp;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setDocument(String document) 
    {
        this.document = document;
    }

    public String getDocument() 
    {
        return document;
    }

    public void setStatue(String statue) 
    {
        this.statue = statue;
    }

    public String getStatue() 
    {
        return statue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tempCategoryId", getTempCategoryId())
            .append("name", getName())
            .append("temp", getTemp())
            .append("img", getImg())
            .append("remark", getRemark())
            .append("document", getDocument())
            .append("statue", getStatue())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
